/*
 * @Descripttion:
 * @version:
 * @Author: congsir
 * @Date: 2024-01-01 22:58:34
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-01-07 12:46:04
 */
import React from "react";
import { Navigate } from "react-router-dom";
import HomePage from "../views/homePage";
import About from "../views/About";

const routes = [
  {
    path: "/",
    element: <Navigate to="/homePage" />,
  },
  {
    path: "/homePage",
    element: <HomePage />,
  },
  {
    path: "/about",
    element: <About />,
  },
];
export default routes;
